<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui" template="ui.xhtml">

	<ui:define name="head">
		<style type="text/css">
.ui-confirm-dialog-severity {
	margin: 0 7px 7px 0;
}
</style>
	</ui:define>
	<ui:define name="content">
		<p:panel header="#{msg.link_signature}">
			<h:panelGrid styleClass="centered">
				<h:form>
					<p:growl id="msg" />
					<h:panelGrid columns="2" cellpadding="5">
						<h:outputText value="#{msg.label_activateesignature}: " />
						<p:selectBooleanCheckbox value="#{SignatureBean.active}">
							<p:ajax update="msg" listener="#{SignatureBean.addMessage}" />
						</p:selectBooleanCheckbox>
					</h:panelGrid>
				</h:form>
				<h:form id="frmFirma">
					<h:panelGrid columns="1" cellpadding="5">
						<p:separator id="separator" style="width:500px;" />
						<h2>#{msg.label_fieldstoactivate}</h2>
						<h:outputText value="#{msg.label_public}" />
						<h:outputText value="#{msg.label_private}" />
						<h:outputText value="#{msg.label_picture}" />
						<h:outputText value="#{msg.label_birthcertificate}" />
						<h:outputText value="#{msg.label_curp}" />
						<h:outputText value="#{msg.label_appointment}" />
						<h:outputText value="#{msg.label_expiration}" />
						<h:outputText value="#{msg.label_stringtransaction}" />
						<h:outputText value="#{msg.label_passwordfield}" />
					</h:panelGrid>
				</h:form>
			</h:panelGrid>
		</p:panel>
		<p:confirmDialog header="Oooops!!!" severity="alert"
			visible="#{not empty param['expired']}" message="View has expired."
			widgetVar="confirmDlg">
			<p:commandButton type="button" value="OK" onclick="confirmDlg.hide()" />
		</p:confirmDialog>
	</ui:define>
</ui:composition>